<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>标签选择器</title>
    <style>
        /*1.标签选择器 : 标签名作为选择器*/
        p {
            color:green;
        }
        div {
            color: red;
        }
    </style>
</head>
<body>
    <p>吕布</p>
    <p>吕布</p>
    <p>吕布</p>

    <div>貂蝉</div>
    <div>貂蝉</div>
    <div>貂蝉</div>
</body>
</html>